package com.acme.task2;

public class Foo {
	byte array[] = new byte[1024];
	
	private final int id;
	
	public Foo(int id) {
		this.id = id;
		//System.out.println("Foo[" + id + "] was create");
	}
	
	@Override
	protected void finalize() throws Throwable {
		System.out.println("Finalize for Foo["+ id + "] was called");
		super.finalize();
	}
}
